#include <cstdlib>

#include <canvas.h>

#include <gtk/gtk.h>

int
main (int argc, char *argv[])
{
	GtkWidget *window;
	GtkWidget *canvas;

	gtk_init (&argc, &argv);

	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);

	canvas = canvas_new ();

	gtk_container_add (GTK_CONTAINER (window), canvas);

	g_signal_connect (G_OBJECT (window), "delete-event", G_CALLBACK (gtk_main_quit), NULL);

	gtk_widget_show_all (window);

	gtk_main ();

	exit (EXIT_SUCCESS);
}
